package com.abc.robot01

import android.content.Context

interface TtsInterface {
    fun init(context: Context)
    fun speak(content: String)
    fun speak(content: String, listener: PlayEndListener)

    fun speak(content: String, speed:Int)
    fun speak(content: String, speed: Int, listener: PlayEndListener)

    fun stopSpeaking()
    fun pauseSpeaking()
    fun resumeSpeaking()
    fun isSpeaking(): Boolean
    fun appendText(text: String)

}